#!/bin/bash
#emerge --sync
#emerge -av gentoolkit
emerge --newuse --deep --update world
#emerge --deep --update world
emerge --depclean
revdep-rebuild
echo "now clean temp files ..."
rm -rf /var/tmp/portage/*
rm -rf /var/tmp/ccache/*
rm -rf /var/tmp/binpkgs/*
rm -rf /var/tmp/genkernel/*
rm -rf /usr/portage/distfiles/*
#rm -rf /tmp*
echo "done"
